package com.xxgc.eow.mapper;

import com.xxgc.eow.entity.Postask;
import com.xxgc.eow.entity.Postskill;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 职位技能表 Mapper 接口
 * </p>
 *
 * @author Mr.Abel
 * @since 2023-05-23
 */
@Mapper
public interface PostskillMapper extends BaseMapper<Postskill> {
    int insert(Postskill row);

    int delectPostSkill(Postskill postskill);
    int updatPostSkill(@Param("postskill") Postskill postskill, @Param("oldskillId") int oldskillId);
    List<Postskill> selectAll();
    List<Postskill> selectBypostId(int postId);
}
